home *** CD-ROM | disk | FTP | other *** search
Wrap
ggggllllFFFFooooggggFFFFuuuunnnnccccSSSSGGGGIIIISSSS((((3333GGGG)))) OOOOppppeeeennnnGGGGLLLL RRRReeeeffffeeeerrrreeeennnncccceeee ggggllllFFFFooooggggFFFFuuuunnnnccccSSSSGGGGIIIISSSS((((3333GGGG)))) NNNNAAAAMMMMEEEE ggggllllFFFFooooggggFFFFuuuunnnnccccSSSSGGGGIIIISSSS - custom fog blending function CCCC SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN void ggggllllFFFFooooggggFFFFuuuunnnnccccSSSSGGGGIIIISSSS( GLsizei _n, const GLfloat *_p_o_i_n_t_s ) PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS _n Specifies the number of control points in the custom fog blending function. The initial value is 1. _p_o_i_n_t_s Specifies an array of control points. Each control point consists of two floating-point values. The first is an eye-space distance, and the second is a fog blending factor in the range [0.0,1.0]. Blending factor 0.0 indicates full fog, and 1.0 indicates no fog. The initial value is (0.0,1.0) (no fog). DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN ggggllllFFFFooooggggFFFFuuuunnnnccccSSSSGGGGIIIISSSS defines the control points for the custom fog blending function that is applied when the fog mode is GGGGLLLL____FFFFOOOOGGGG____FFFFUUUUNNNNCCCC____SSSSGGGGIIIISSSS. See ggggllllFFFFoooogggg for a discussion of the various fog modes and the operation of the custom blending function. _n is the number of control points in the custom fog blending function. It must not be larger than the value returned by ggggllllGGGGeeeetttt with argument GGGGLLLL____MMMMAAAAXXXX____FFFFOOOOGGGG____FFFFUUUUNNNNCCCC____PPPPOOOOIIIINNNNTTTTSSSS____SSSSGGGGIIIISSSS. It must be at least 1. _p_o_i_n_t_s is an array of pairs of floating-point values that define the control points. Each control point consists of an eye-space distance from the viewpoint (always non-negative) and the corresponding fog blending factor (in the range [0.0,1.0]). Blending factor 0.0 results in full fog, and 1.0 results in no fog. The control points must be specified in order: eye space distance must not decrease from one control point to the next, and the fog blending factor must not increase from one control point to the next. _n and _p_o_i_n_t_s completely specify the custom fog blending function, replacing any previous specification that may have existed. NNNNOOOOTTTTEEEESSSS Note that since each control point is a pair of values, there are 2*_n floating-point values in _p_o_i_n_t_s. ggggllllFFFFooooggggFFFFuuuunnnnccccSSSSGGGGIIIISSSS is part of the SSSSGGGGIIIISSSS____ffffoooogggg____ffffuuuunnnncccc extension, not part of the core GL command set. If GGGGLLLL____SSSSGGGGIIIISSSS____ffffoooogggg____ffffuuuunnnncccc is included in the string returned by ggggllllGGGGeeeettttSSSSttttrrrriiiinnnngggg when called with argument GGGGLLLL____EEEEXXXXTTTTEEEENNNNSSSSIIIIOOOONNNNSSSS, extension SSSSGGGGIIIISSSS____ffffoooogggg____ffffuuuunnnncccc is supported by the connection. See ggggllllIIIInnnnttttrrrroooo for more information about using extensions. PPPPaaaaggggeeee 1111 ggggllllFFFFooooggggFFFFuuuunnnnccccSSSSGGGGIIIISSSS((((3333GGGG)))) OOOOppppeeeennnnGGGGLLLL RRRReeeeffffeeeerrrreeeennnncccceeee ggggllllFFFFooooggggFFFFuuuunnnnccccSSSSGGGGIIIISSSS((((3333GGGG)))) EEEERRRRRRRROOOORRRRSSSS GGGGLLLL____IIIINNNNVVVVAAAALLLLIIIIDDDD____VVVVAAAALLLLUUUUEEEE is generated if _n is less than 1. GGGGLLLL____IIIINNNNVVVVAAAALLLLIIIIDDDD____VVVVAAAALLLLUUUUEEEE is generated if any eye-space distance in _p_o_i_n_t_s is negative, or if any blend factor in _p_o_i_n_t_s is outside the range [0.0,1.0]. GGGGLLLL____IIIINNNNVVVVAAAALLLLIIIIDDDD____VVVVAAAALLLLUUUUEEEE is generated if the eye-space distance decreases from one control point to the next, or if the blending factor increases from one control point to the next. GGGGLLLL____IIIINNNNVVVVAAAALLLLIIIIDDDD____OOOOPPPPEEEERRRRAAAATTTTIIIIOOOONNNN is generated if ggggllllFFFFooooggggFFFFuuuunnnnccccSSSSGGGGIIIISSSS is executed between the execution of ggggllllBBBBeeeeggggiiiinnnn and the corresponding execution of ggggllllEEEEnnnndddd. AAAASSSSSSSSOOOOCCCCIIIIAAAATTTTEEEEDDDD GGGGEEEETTTTSSSS ggggllllGGGGeeeetttt with argument GGGGLLLL____FFFFOOOOGGGG____FFFFUUUUNNNNCCCC____SSSSGGGGIIIISSSS ggggllllGGGGeeeetttt with argument GGGGLLLL____FFFFOOOOGGGG____FFFFUUUUNNNNCCCC____PPPPOOOOIIIINNNNTTTTSSSS____SSSSGGGGIIIISSSS ggggllllGGGGeeeetttt with argument GGGGLLLL____MMMMAAAAXXXX____FFFFOOOOGGGG____FFFFUUUUNNNNCCCC____PPPPOOOOIIIINNNNTTTTSSSS____SSSSGGGGIIIISSSS MMMMAAAACCCCHHHHIIIINNNNEEEE DDDDEEEEPPPPEEEENNNNDDDDEEEENNNNCCCCIIIIEEEESSSS Fog mode GGGGLLLL____FFFFOOOOGGGG____FFFFUUUUNNNNCCCC____SSSSGGGGIIIISSSS is supported only on IIIInnnnffffiiiinnnniiiitttteeeeRRRReeeeaaaalllliiiittttyyyy systems. SSSSEEEEEEEE AAAALLLLSSSSOOOO ggggllllFFFFoooogggg PPPPaaaaggggeeee 2222